<div class="row" id="dialog-content">
    {{#each records}}
    <div class="margin" style="width: 120px;height: 120px;float: left;text-align: center;line-height: 120px;">
        <img class="img-thumbnail" style="max-width: 120px; max-height: 120px;"
             onclick="selectImage(this,'{{id}}')"
             src="{{url}}" onerror="src='/public/noimage.gif'" title="{{fileName}}">

        <div class="cover" onclick="cancelSelectImage(this,'{{id}}')"></div>
    </div>
    {{/each}}
</div>

<div class="box-footer clearfix">
    {{{pager}}}
</div>